export function isNotNull (ele) {
  debugger
  if (typeof ele === 'undefined') {
    return false
  } else if (ele == null) {
    return false
    // eslint-disable-next-line eqeqeq
  } else if (ele == '') {
    return false
  }
  return true
}

export function checkPhone (phone) {
  if (!(/^1[3456789]\d{9}$/.test(phone))) {
    return false
  } else {
    return true
  }
}
